@font-face {
    font-family: 'icon';
    src: url('../fonts/icon.woff2') format('woff2'), url('../fonts/icon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.icon {
	font-family: 'icon';
	display: inline-block;
	font-style: normal;
	min-width: 16px;
	height: 16px;
}

$icons: (
	search:   '02',
	user:     '07',
	setting:  '13',
	delete:  '14',
	star:     '05',
	book:     '2d',
	comment:  '75',
	comments: '86',
	tags:     '2c',
	edit:     '40',
	time:     '17',
	praise:   '87',
	view:     '6e',
);
@each $name, $code in $icons {
	.icon-#{$name}:before {
		content: '\f0#{$code}';
	}
}